package com.cragon.listener;

/**
 * @Description: TODO
 * @Author: ZHOUHAILONG
 * @Date: 2020年07月31日 14:51
 */
public class TestDemo {
	public static void main(String[] args) {
		EventSource eventSource = new EventSource();
		Button button = eventSource.testOnClick();
		ClickEvent clickEvent = new ClickEvent(EventSource.class, ClickEvent.DOUBLE_CLICK);
		button.handleEvent(clickEvent);
	}
}
